local list_name=ARGV[1]
local newList=KEYS
redis.call('del',list_name)
for i,item in ipairs(newList) do
    redis.call('rpush',list_name,item)
end